import React, { Component } from 'react'
import Header from '../components/Header'
import ReactDOM from 'react-dom'
import Banner from '../components/Banner.js'
import Img from '../components/Img.js'
import Tab from '../components/Tabs.js'
import List from '../components/List.js'

import '../assets/fonts/iconfont.css'
import '../assets/styles/home.less'




export default class Home extends Component {
    constructor(p) {
        super(p)
        this.state = {
        }
    }
    render() {
        return (
            <div className='home'>
                {/* 头部 */}
                <Header></Header>
                {/* tab先择 */}
                <Tab></Tab>
                {/* banner焦点图 */}
                <Banner ></Banner>
                <Img src={'2.jpg'}></Img>
                <Img src={'3.jpg'}></Img>
                {/* 小列表 */}
                <List></List>

            </div>
        )
    }
}

ReactDOM.render(
    <Home></Home>,
    document.getElementById('root')
)
